import request from '@/utils/request'

export function workbook(data) {
    return request({
        url: 'practice/workbook',
        method: 'post',
        data
    })
}

export function commitPractice(data) {
    return request({
        url: 'practice/commit',
        method: 'post',
        data
    })
}
export function getPracticeStatistics(params) {
    return request({
        url: 'practice/statistics',
        method: 'get',
        params
    })
}
// 最近15天练习数据
export function halfMonthPracticeList(params) {
    return request({
        url: 'practice/half-month-practice',
        method: 'get',
        params
    })
}
//成绩排名
export function scoreBankList(params) {
    return request({
        url: 'practice/bank-list',
        method: 'get',
        params
    })
}